define(
	[
		'require',
		'apm/ui/business_pie',
		'apm/ui/business_time_ranges',
		'apm/ui/business_browser_bar'
	],
	function(require){
		var View = Ember.View.extend({
			PieChart: require("apm/ui/business_pie"),

			BrowserBarChart: require('apm/ui/business_browser_bar'),

			TimeRanges: require('apm/ui/business_time_ranges'),

			didInsertElement:function(){
				var view = Broada.getView("timeRangeSelect");
				var content = Ember.A([
						{
							name: "前1小时",
							value: "1h"
						},
						{
							name: "前1天",
							value: "1d"
						},
						{
							name: "前1周",
							value: "7d"
						},
						{
							name: "前1个月",
							value: "1M"
						}
					]);
				view.set("content",content);
				var timeRangeView = Broada.getView("businessTimeRangesTopo");
				timeRangeView.$().hide();
			}
		});

		APM.BusinessDetailExperienceBrowserView = View;

		return View;
	}
);